Skip to content

Use Rubocop plugins, use Ruby 3.0 as minimum version everywhere #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 29, 2025

Conversation

olivier-thatch
Copy link
Contributor

Just a bit of cleanup:

  • use Rubocop's plugin system instead of require to silence a warning with recent Rubocop versions
    • I added version constraints to ensure the various Rubocop gems are all compatible with the new plugin system
  • use 3.0 as the target Rubocop version instead of 2.7
  • run Rubocop with Ruby 3.0 instead of 3.2 in CI
  • use Ruby 3.0 instead of 3.1 as the oldest version in CI

This is consistent with 3.0 being the minimum required version in the gemspec.

@numbata numbata assigned numbata and unassigned numbata May 9, 2025
@numbata numbata self-requested a review May 9, 2025 12:18
@dblock
Copy link
Member

dblock commented May 24, 2025

There's a bunch of good stuff here, want to finish it @olivier-thatch ?

@numbata
Copy link
Collaborator

numbata commented May 24, 2025

@dblock let's remove ruby-head from master as well and rebase this then.

@dblock
Copy link
Member

dblock commented May 24, 2025

@dblock let's remove ruby-head from master as well and rebase this then.

That was done, rebase.

@olivier-thatch olivier-thatch force-pushed the rubocop-clean-up branch 3 times, most recently from f5360ab to fef2334 Compare May 28, 2025 16:52
@numbata numbata force-pushed the rubocop-clean-up branch from 9f084a4 to e710a8a Compare July 29, 2025 20:16
@numbata
Copy link
Collaborator

numbata commented Jul 29, 2025

Merging now to make master green again. And we can release right after.

@numbata numbata merged commit 2ba3ae3 into ruby-grape:master Jul 29, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants